package com.platform.oss.core.minio.model;

import com.platform.oss.utils.OssPathUtil;
import lombok.Data;


/**
 * @author zq
 */
@Data
public class MinioOssConfig {

    private String basePath;
    private String endpoint;
    private String accessKey;
    private String secretKey;
    private String bucketName;

    private MinioOssClientConfig clientConfig = new MinioOssClientConfig();

    public void init() {
        basePath = OssPathUtil.valid(basePath);
    }
}
